package org.reliablesource.prism.core.internal;

import java.awt.Point;

import org.reliablesource.prism.core.IPrismAnnotation;

/**
 *
 *  PrismAnnotation.java
 *  Copyright (c) 2006, Reliable Source, Inc. All Rights Reserved
 *
 *	Created on: Apr 10, 2006 
 *  @author Dennis Park <a href="mailto:dennis.park@gmail.com">dennis.park@gmail.com</a>
 *
 */

public class PrismAnnotation extends PrismUnit implements IPrismAnnotation{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8934555834477264523L;
	private Point location;
	private String text;
	private int width;
	private int height;
	
	PrismAnnotation(){
		super();
		width = 120;
		height = 30;
		text = "Click to edit.";		
	}
	
	
	public Point getLocation() {
		return location;
	}

	public String getText() {
		return text;
	}

	public void setText(String _text) {
		text = _text;
	}

	public void setLocation(Point loc) {
		location = loc;
	}

	public void setHeight(int _height) {
		height = _height;
	}

	public int getHeight() {
		return height;
	}

	public void setWidth(int _width) {
		width = _width;
	}

	public int getWidth() {
		return width;
	}

}
